package com.nftturbocollection.domain.service;

import com.nftturbocollection.domain.request.CollectionInventoryRequest;
import com.nftturbocollection.domain.response.CollectionInventoryResponse;

public interface CollectionInventoryService {
    /**
     * 初始化藏品库存
     *
     * @param request
     * @return
     */
    public CollectionInventoryResponse init(CollectionInventoryRequest request);
    /**
     * 获取藏品库存
     *
     * @param request
     * @return
     */
    public Integer getInventory(CollectionInventoryRequest request);
    /**
     * 失效藏品库存
     *
     * @param request
     * @return
     */
    public void invalid(CollectionInventoryRequest request);
    /**
     * 扣减藏品库存
     *
     * @param request
     * @return
     */
    public CollectionInventoryResponse decrease(CollectionInventoryRequest request);

    CollectionInventoryResponse increase(CollectionInventoryRequest request);
}
